@model Campus.Entities.Responsable

@* This partial view defines form fields that will appear when creating and editing entities *@

<script src="../../Scripts/jquery-1.7.2.min.js"></script>

<div class="control-group">
	<div class="control-label">
	    @Html.LabelFor(model => model.Nombre)
	</div>
	<div class="controls">
		@Html.EditorFor(model => model.Nombre)
		@Html.ValidationMessageFor(model => model.Nombre)
	</div>
</div>

<div class="control-group">
	<div class="control-label">
	    @Html.LabelFor(model => model.Apellido)
	</div>
	<div class="controls">
		@Html.EditorFor(model => model.Apellido)
		@Html.ValidationMessageFor(model => model.Apellido)
	</div>
</div>

<div class="control-group">
	<div class="control-label">
	    @Html.LabelFor(model => model.DNI)
	</div>
	<div class="controls">
		@Html.EditorFor(model => model.DNI)
		@Html.ValidationMessageFor(model => model.DNI)
	</div>
</div>

<div class="control-group">
	<div class="control-label">
	    @Html.LabelFor(model => model.Direccion)
	</div>
	<div class="controls">
		@Html.EditorFor(model => model.Direccion)
		@Html.ValidationMessageFor(model => model.Direccion)
	</div>
</div>

<div class="control-group">
	<div class="control-label">
	    @Html.LabelFor(model => model.Localidad)
	</div>
	<div class="controls">
		@Html.EditorFor(model => model.Localidad)
		@Html.ValidationMessageFor(model => model.Localidad)
	</div>
</div>

<div class="control-group">
	<div class="control-label">
	    @Html.LabelFor(model => model.CodigoPostal)
	</div>
	<div class="controls">
		@Html.EditorFor(model => model.CodigoPostal)
		@Html.ValidationMessageFor(model => model.CodigoPostal)
	</div>
</div>

<div class="control-group">
	<div class="control-label">
	    @Html.LabelFor(model => model.Telefono)
	</div>
	<div class="controls">
		@Html.EditorFor(model => model.Telefono)
		@Html.ValidationMessageFor(model => model.Telefono)
	</div>
</div>

<div class="control-group">
	<div class="control-label">
	    @Html.LabelFor(model => model.Celular)
	</div>
	<div class="controls">
		@Html.EditorFor(model => model.Celular)
		@Html.ValidationMessageFor(model => model.Celular)
	</div>
</div>

<div class="control-group">
	<div class="control-label">
	    @Html.LabelFor(model => model.Email)
	</div>
	<div class="controls">
		@Html.EditorFor(model => model.Email)
		@Html.ValidationMessageFor(model => model.Email)
	</div>
</div>

<div class="control-group">
	<div class="control-label">
	    @Html.LabelFor(model => model.Notas)
	</div>
	<div class="controls">
		@Html.TextAreaFor(model => model.Notas, new {  cols = 40, rows = 5} )
		@Html.ValidationMessageFor(model => model.Notas)
	</div>
</div>

<div class="control-group">
	<div class="control-label">
	    @Html.LabelFor(model => model.Usuario.UserName)
	</div>
	<div class="controls">
		@Html.TextBoxFor(model => model.Usuario.UserName)
		@Html.ValidationMessageFor(model => model.Usuario.UserName)
	</div>
</div>

@Html.Partial("_EstadosResponsable", Model)

<br />
@Html.ValidationSummary(true, "Por favor verifique errores e intente de nuevo.", new { @class="alert alert-error"})

       
       
